package com.congwulin.wechat.entity.product;

import com.congwulin.wechat.entity.common.SuperVO;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Product extends SuperVO {
    private String id;

    private String producttype;

    private String name;

    private String code;

    private String title;

    private String detail;

    private BigDecimal price;

    private BigDecimal pricenow;

    private Integer stock;

    private String color;

    private Timestamp pricenowstarttime;

    private Timestamp pricenowendtime;

    private String productsize;

    private Timestamp creationtime;

    private String creator;

    private String creator_name;

    private Integer dr;

    private String modifier;

    private String modifier_name;

    private Timestamp ts;

    private Timestamp modifiedtime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProducttype() {
        return producttype;
    }

    public void setProducttype(String producttype) {
        this.producttype = producttype == null ? null : producttype.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPricenow() {
        return pricenow;
    }

    public void setPricenow(BigDecimal pricenow) {
        this.pricenow = pricenow;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public Timestamp getPricenowstarttime() {
        return pricenowstarttime;
    }

    public void setPricenowstarttime(Timestamp pricenowstarttime) {
        this.pricenowstarttime = pricenowstarttime;
    }

    public Timestamp getPricenowendtime() {
        return pricenowendtime;
    }

    public void setPricenowendtime(Timestamp pricenowendtime) {
        this.pricenowendtime = pricenowendtime;
    }

    public String getProductsize() {
        return productsize;
    }

    public void setProductsize(String productsize) {
        this.productsize = productsize == null ? null : productsize.trim();
    }

    public Timestamp getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Timestamp creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getCreator_name() {
        return creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name == null ? null : creator_name.trim();
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public String getModifier_name() {
        return modifier_name;
    }

    @Override
    public String getTableName() {
        return "product";
    }

    public void setModifier_name(String modifier_name) {
        this.modifier_name = modifier_name == null ? null : modifier_name.trim();
    }

    public Timestamp getTs() {
        return ts;
    }

    public void setTs(Timestamp ts) {
        this.ts = ts;
    }

    public Timestamp getModifiedtime() {
        return modifiedtime;
    }

    public void setModifiedtime(Timestamp modifiedtime) {
        this.modifiedtime = modifiedtime;
    }
}